﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExtAspNet;
namespace HealthSystem.ReportPage
{
    public partial class Index : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void sgbt_Click(object sender, EventArgs e)
        {
            ExtAspNet.Button o = (ExtAspNet.Button)sender;
            //string rid = o.ID.Substring(6, 2);
            //PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?rid="+rid,o.Text));
            PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?reportid=" + o.ID, o.ToolTip));
           
        }
        protected void HuiZong_Click(object sender, EventArgs e)
        {;
            //content.IFrameUrl = "SumReport.aspx";
            //PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?rid="+rid,o.Text));
        }
        protected void RenShu_Click(object sender, EventArgs e)
        {
            //content.IFrameUrl = "sumchart.aspx";
            //PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?rid="+rid,o.Text));
        }
        protected void tz_Click(object sender, EventArgs e)
        {
            ExtAspNet.Button o = (ExtAspNet.Button)sender;
            //string rid = o.ID.Substring(6, 2);
            PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?rid=01", o.Text));
            PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
        }
        //protected void sgbt_Click2(object sender, EventArgs e)
        //{
        //    PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?rid=02"));
        //}
        //protected void sgbt_Click3(object sender, EventArgs e)
        //{
        //    PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?rid=03"));
        //}
        //protected void sgbt_Click4(object sender, EventArgs e)
        //{
        //    PageContext.RegisterStartupScript(Window1.GetShowReference("reportindex.aspx?rid=04"));
        //}
    }
}